#include<map>
#include<queue>
#include<stack>
#include<vector>
#include<cstdio>
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    cout << "5\n19\n7\n1";
    fclose(stdin);
    fclose(stdout);
    return 0;
}
